include_once('NsysuStudent.php'); session_start(); foreach($_POST as $key=>$value) { $_SESSION['customer']->$key = $value; }